package com.tech.distribute_id.snowflake.baidu;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description: 配置文件读取
 */
@ConfigurationProperties(prefix="uid", ignoreUnknownFields = false)
@Data
@ToString
public class UidGeneratorProperties {

    private String mode;
    private int timeBits;
    private int workerBits;
    private int seqBits;
    private String epochStr;



    /**
     * 池配置
     */
    private RingBufferProperties ringBuffer;

}
